package com.woniuxy.entity;

import java.util.List;

/**
 * @Author: ideaAdmin
 * TODO:
 * Date: 2022/1/24:17:37
 * Description:
 */

public class ClassName {
    private String name;
    private Integer num;
    List<Student> students;

    public void setName(String name) {
        this.name = name;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public void setStudents(List<Student> students) {
        this.students = students;
    }

    public List<Student> getStudents() {
        return students;
    }

    @Override
    public String toString() {
        return "ClassName{" +
                "name='" + name + '\'' +
                ", num=" + num +
                ", students=" + students +
                '}';
    }
}
